<?php 
	$bc = johnny_Common_bc::get_bx($this);
?>
<div id="breadcrumbs">
	<ul class="breadcrumb">
		<li><i class="icon-home"></i> <a href="<?php echo $this->baseUrl('/admin')?>">Home</a> 
			<span class="divider"> 
				<i class="icon-angle-right"></i>
			</span>
		</li>
		<?php for ($i = 0; $i < count($bc); $i = $i + 1){ 
			if (johnny_Common_bc::is_actvie($bc[$i]['class'])) {
			?>
				<li <?php echo $bc[$i]['class']?>>
					<?php echo $bc[$i]['text']?>
				</li>
			<?php 
			} else {
			?>
				<li <?php echo $bc[$i]['class']?>>
					<a href="<?php echo $bc[$i]['link']?>"><?php echo $bc[$i]['text']?></a>
					<?php if (!johnny_Common_bc::is_final($bc[$i]['class'])) {?>
						<span class="divider">
							<i class="icon-angle-right"></i>
						</span>
					<?php }?>
				</li>
			<?php
			}
			?>
		<?php }?>
	</ul>
	<!--.breadcrumb-->

	<div id="nav-search">
		<form class="form-search">
			<span class="input-icon"> <input autocomplete="off"
				id="nav-search-input" type="text" class="input-small search-query"
				placeholder="Search ..."> <i id="nav-search-icon"
				class="icon-search"></i>
			</span>
		</form>
	</div>
	<!--#nav-search-->
</div>
